﻿using RESTFinder.Desktop.MVVM;
using System.Windows;

namespace RESTFinder.Desktop
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();


            this.DataContext = new MainViewModel();

            //string getUrl = string.Format("http://localhost:8080/document");
            //var client = new RESTFinder.Utils.Client.RESTWebClient();

           
            //var responseTask = client.Get<dynamic>(getUrl, Utils.Serialization.SerializationToUse.Json);
            //responseTask.Wait();
            //var response = responseTask.Result;

            //System.Console.WriteLine(    response.Content.name);
        }
    }
}
